phpseclib3\Math\BigInteger\Engines\GMP A

Total Complexity 67
Dependencies 4
Dependents 0
Total lines 567
Lines of code 232
Logical lines of code 127
Comment lines 199
Methods 41
Properties 0

Methods 41

Method Rating Maintainability Complexity Lines of code
initialize()
S
58 6 16
toBytes()
S
60 5 12
toBits()
S
61 5 11
normalize()
S
59 4 15
__construct()
S
59 4 14
randomRangePrimeInner()
S
63 3 10
compare()
S
65 3 10
between()
S
78 2 3
modInverse()
S
71 2 5
divide()
S
64 2 9
scan1divide()
S
72 1 5
createRecurringModuloFunction()
S
74 1 4
isOdd()
S
79 1 3
testBit()
S
79 1 3
max()
S
79 1 3
min()
S
79 1 3
pow()
S
72 1 5
rootInner()
S
72 1 5
testPrimality()
S
78 1 3
make_odd()
S
80 1 3
isNegative()
S
79 1 3
randomRange()
S
78 1 3
randomRangePrime()
S
78 1 3
isValidEngine()
S
80 1 3
bitwise_leftShift()
S
72 1 5
powModInner()
S
74 1 4
powMod()
S
79 1 3
modPow()
S
79 1 3
bitwise_rightShift()
S
72 1 5
bitwise_xor()
S
72 1 5
bitwise_or()
S
72 1 5
bitwise_and()
S
72 1 5
abs()
S
73 1 5
gcd()
S
75 1 4
extendedGCD()
S
66 1 8
equals()
S
80 1 3
multiply()
S
72 1 5
subtract()
S
72 1 5
add()
S
72 1 5
toString()
S
81 1 3
negate()
S
73 1 5